home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20000824-20010305
/
000339_news@columbia.edu _Thu Feb 22 10:46:27 2001.msg
< prev
next >
Wrap
Internet Message Format
|
2001-03-05
|
5KB
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA22575
for <kermit.misc@cpunix.cc.columbia.edu>; Thu, 22 Feb 2001 10:46:26 -0500 (EST)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA07017
for <kermit.misc@watsun.cc.columbia.edu>; Thu, 22 Feb 2001 10:46:26 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA24774
for kermit.misc@watsun.cc.columbia.edu; Thu, 22 Feb 2001 10:21:05 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: jaltman@columbia.edu (Jeffrey Altman)
Subject: Re: Filename conversions
Date: 22 Feb 2001 15:21:05 GMT
Organization: Columbia University
Message-ID: <973ap1$o63$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In article <971gs8$de0$1@samba.rahul.net>, <dold@email.rahul.net> wrote:
: Woot <mymp3xyz@hotmail.com> wrote:
: : I'm having a great conversation with myself.... :)
: : If I "get" the file from the HP48 (putting the HP48 in server mode) it works
: : fine.
:
: The "file collision" setting would be on the receiving kermit, and have no
: effect on the sending kermit, correct?
That is correct. The File Collision options only affect the Kermit that
is performing either a RECEIVE or a GET operation.
The problem was being experienced in this case is due to a combination
of the File Collision options and the default security provided by the
Kermit SERVER.
The default settings for a Kermit SERVER are:
Function: Status:
GET Enabled
SEND Enabled
MAIL Enabled
PRINT Enabled
REMOTE ASSIGN Enabled
REMOTE CD/CWD Enabled
REMOTE COPY Enabled
REMOTE DELETE Remote only
REMOTE DIRECTORY Enabled
REMOTE HOST Remote only
REMOTE QUERY Enabled
REMOTE MKDIR Enabled
REMOTE RMDIR Remote only
REMOTE RENAME Enabled
REMOTE SET Enabled
REMOTE SPACE Enabled
REMOTE TYPE Enabled
REMOTE WHO Enabled
BYE Remote only
FINISH Enabled
EXIT Remote only
ENABLE Enabled
The "Remote only" does not refer to the REMOTE command but to the mode
that the Kermit process executing the SERVER is operating in. Kermit
can be executed in two modes: "remote" and "local". Remote means that
Kermit was started on a remote host and is communicating across the
TTY device back to the client. An example of this scenario is when
a Telnet client is used to connect to a Unix host and C-Kermit is
started from the command line for the purpose of transfering files with
the Telnet client. This is Kermit operating in "remote" mode.
Every other type of connection is Kermit running in "local" mode.
When Kermit 95 is used to make a telnet connection to a Unix host
it is running in "local" mode. When C-Kermit is used to accept an
incoming connection with SET HOST * it is running in "local" mode.
The Internet Kermit Service runs in "remote" mode.
The status of "local" mode can be checked in a script with the
\v(local) variable. It will be 1 when in local mode, and 0 when
in remote mode.
How does the mode affect the problem experienced by Woot? Here is the
configuration"
. SET FILE COLLISION OVERWRITE
. SERVER mode
. operating in "local" mode since Kermit established the connection
to the HP-48
Now the HP-48 tries to SEND a file to Kermit and we discover that Kermit
is not using OVERWRITE mode but instead uses RENAME mode. Why?
The SERVER is operating with an ENABLE DELETE REMOTE setting. This means
that when the SERVER runs in "local" mode that file deletion is not
permitted. Overwriting or even backing up a file requires an implicit
deletion of the original contents of the file. Therefore, it cannot
be permitted. So when SERVER mode is started the File Collision Overwrite
setting becomes File Collision Rename since that is the closest setting
that will allow the file transfer to proceed without violating the
stated server policy.
Jeffrey Altman * Sr.Software Designer C-Kermit 7.1 Alpha available
The Kermit Project @ Columbia University includes Secure Telnet and FTP
http://www.kermit-project.org/ using Kerberos, SRP, and
kermit-support@kermit-project.org OpenSSL. SSH soon to follow.